<template>
  <view class="my-search" @click="gotoSearchPage">
    <uni-search-bar :radius="100" clearButton="none" cancelButton="none" bgColor="white"></uni-search-bar>
  </view>
</template>

<script>
  export default {
    data() {
      return {

      };
    },
    methods: {
      gotoSearchPage() {
        uni.navigateTo({
          url: '/packageGoods/search/search'
        })
      }
    }
  }
</script>

<style lang="scss">
  .my-search {
    position: sticky;
    top: 0;
    z-index: 999;
  }
</style>
